Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oas-schema-walker

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oas-schema-walker

Library to walk OAS 3 schema objects and call a callback

  • 1.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

OAS-Schema-Walker

Functions

getDefaultState()

obtains the default starting state for the state object used by walkSchema

walkSchema(parent, state, callback,)

begins the walk of a schema object, or the state object used by walkSchema

getDefaultState() ⇒

obtains the default starting state for the state object used by walkSchema

Kind: global function Returns: the state object suitable for use in walkSchema

walkSchema(parent, state, callback,) ⇒

begins the walk of a schema object, or the state object used by walkSchema

Kind: global function Returns: the schema object

ParamDescription
parentthe parent schema, if any. Use empty object if none
statethe initial starting state of the walker, usually obtained from getDefaultState
callback,a function taking a schema, parent and state to be called on this and all subschemas

Keywords

FAQs

Package last updated on 31 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc